import request from '@/utils/request'

// 查询留级表列表
export function listStudentrepeaterlog(query) {
  return request({
    url: '/student/Studentrepeaterlog/list',
    method: 'get',
    params: query
  })
}

// 查询留级表详细
export function getStudentrepeaterlog(id) {
  return request({
    url: '/student/Studentrepeaterlog/' + id,
    method: 'get'
  })
}

// 新增留级表
export function addStudentrepeaterlog(data) {
  return request({
    url: '/student/Studentrepeaterlog',
    method: 'post',
    data: data
  })
}

// 修改留级表
export function updateStudentrepeaterlog(data) {
  return request({
    url: '/student/Studentrepeaterlog',
    method: 'put',
    data: data
  })
}

// 删除留级表
export function delStudentrepeaterlog(id) {
  return request({
    url: '/student/Studentrepeaterlog/' + id,
    method: 'delete'
  })
}
